package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * ������Ϣ��
 * </p>
 *
 * @author lxp
 * @since 2023-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="VisitInfo对象", description="������Ϣ��")
public class VisitInfo extends Model<VisitInfo> {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "���ñ��")
    @TableId(value = "visit_id", type = IdType.AUTO)
    private Long visitId;

            @ApiModelProperty(value = "ѧ�����")
    private Long stuId;

            @ApiModelProperty(value = "ѧ��")
    private String stuNum;

            @ApiModelProperty(value = "���״̬")
    private Integer auditStatus;

            @ApiModelProperty(value = "Σ")
    private Integer visitCrisisGrades;

            @ApiModelProperty(value = "����ʱ��")
    private String visitDate;
    private String visitTime;

            @ApiModelProperty(value = "���ý�ʦ")
    private String visitAdminId;

            @ApiModelProperty(value = "���ý���")
    private String visitRoom;

            @ApiModelProperty(value = "�û�Σ���ı�")
    private String userCrisisText;

            @ApiModelProperty(value = "����״̬")
    private Integer visitStatus;

            @ApiModelProperty(value = "���ý��Σ��״̬")
    private Integer visitResultCrisisStatus;

            @ApiModelProperty(value = "���ý���")
    private String visitConclusion;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer consultTotal;
    @TableField(exist=false)
    private UserInfo userInfo;
    @TableField(exist=false)
    private AdminInfo adminInfo;


    @Override
    protected Serializable pkVal() {
        return this.visitId;
    }

}
